<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<div id="app"></div>

<!-- react核心库 -->
<script src="../lib/react.development.js"></script>
<!-- react操作dom -->
<script src="../lib/react-dom.development.js"></script>
<!-- jsx转js -->
<script src="../lib/babel.min.js"></script>
<script type="text/javascript">
  // 创建虚拟dom
  const VDOM = React.createElement('h3', {id: "title", class: "title"}, 'Hello,React')
  // 渲染虚拟dom
  ReactDOM.render(VDOM, document.getElementById("app"))
</script>
</body>
</html>